package com.flyme.excel.load;


import com.flyme.excel.validator.ExcelCellValidators;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by user on 2017/12/8.
 *
 * @author hb.lian
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface ExcelImportField {
    /**
     * excel对应列名称
     *
     * @return
     */
    String cellName();


    /**
     * 验证器
     */
    ExcelCellValidators[] validatedBy() default {ExcelCellValidators.VOID};
}
